const dataAnalysis = {
	path: "/dataAnalysis",
	name: "dataAnalysis",
	// redirect: "/dataAnalysis/dataCard",
	meta: {
		title: "数据分析",
		icon: "el-icon-s-data"
	},
	component: () =>
		import(
			/* webpackChunkName: "dataAnalysis" */ "../views/dataAnalysis/index.vue"
			),
	children: [
		{
			path: "/dataAnalysis/dataCard",
			name: "dataCard", // 数据概览模块
			meta: {
				parentName: "dataAnalysis"
			},
			component: () =>
				import(
					/* webpackChunkName: "DataCard" */ "../views/dataAnalysis/dataCard/index.vue"
					)
		},
		{
			path: "/dataAnalysis/userAnalysis",
			name: "userAnalysis", // 用户分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "UserAnalysis" */ "../views/dataAnalysis/userAnalysis/index.vue"
					)
		},
		// 通用分析下的二级导航
		{
			path: "/dataAnalysis/eventAnalysis",
			name: "eventAnalysis", // 事件分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "EventAnalysis" */ "../views/dataAnalysis/eventAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/funnelAnalysis",
			name: "funnelAnalysis", // 漏斗分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "FunnelAnalysis" */ "../views/dataAnalysis/funnelAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/pathAnalysis",
			name: "pathAnalysis", // 路径分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "PathAnalysis" */ "../views/dataAnalysis/pathAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/retainedAnalysis",
			name: "retainedAnalysis", // 留存分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "RetainedAnalysis" */ "../views/dataAnalysis/retainedAnalysis/index.vue"
					)
		}
	]
};
export default dataAnalysis;
